package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusIncomeStat;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.Map;
@Repository
public interface BusIncomeStatMapper extends Mapper<BusIncomeStat> {

    int updateByWaitEarned(Map<String,Object> map);

    BusIncomeStat getOneByUserId(Integer userId);

    //平台累计收益统计
    Map sumIncome();
}